package com.bing.decorate;

/**
 * Created by kaibb on 14-7-24.
 */
public class Soy extends CondimentDecorator {

    @Override
    public double cost() {
        return 0.8+ beverage.cost();
    }

    public Soy(Beverage beverage) {
        this.beverage = beverage;
        description = "soy";
    }
}
